<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Stat memory utilization</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.win32-ps-list-procs.html">win32_ps_list_procs</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.win32-ps-stat-proc.html">win32_ps_stat_proc</a></div>
 <div class="up"><a href="ref.win32ps.html">win32ps 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.win32-ps-stat-mem" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_ps_stat_mem</h1>
  <p class="verinfo">(PECL win32ps &gt;= 1.0.1)</p><p class="refpurpose"><span class="refname">win32_ps_stat_mem</span> &mdash; <span class="dc-title">Stat memory utilization</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.win32-ps-stat-mem-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>win32_ps_stat_mem</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Retrieves statistics about the global memory utilization.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.win32-ps-stat-mem-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>FALSE</code></strong> on failure, or an array consisting of the
   following information on success:
  </p>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">load</code></em></dt>

     <dd>

      <p class="para">
       The current memory load in percent of physical memory.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">unit</code></em></dt>

     <dd>

      <p class="para">
       This is always 1024, and indicates that the following values are the count of 1024 bytes.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">total_phys</code></em></dt>

     <dd>

      <p class="para">
       The amount of total physical memory.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">avail_phys</code></em></dt>

     <dd>

      <p class="para">
       The amount of still available physical memory.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">total_pagefile</code></em></dt>

     <dd>

      <p class="para">
       The amount of total pageable memory (physical memory + paging file).
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">avail_pagefile</code></em></dt>

     <dd>

      <p class="para">
       The amount of still available pageable memory (physical memory + paging file).
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">total_virtual</code></em></dt>

     <dd>

      <p class="para">
       The amount of total virtual memory for a process.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">avail_virtual</code></em></dt>

     <dd>

      <p class="para">
       The amount of still available virtual memory for a process.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.win32-ps-list-procs.html">win32_ps_list_procs</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.win32-ps-stat-proc.html">win32_ps_stat_proc</a></div>
 <div class="up"><a href="ref.win32ps.html">win32ps 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
